home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Freelog 117
/
FreelogNo117-OctobreNovembre2013.iso
/
Programmation
/
jedit
/
jedit5.1.0install.exe
/
{app}
/
modes
/
gcbasic.xml
< prev
next >
Wrap
Extensible Markup Language
|
2013-07-28
|
30KB
|
895 lines
<?xml version="1.0"?>
<!DOCTYPE MODE SYSTEM "xmode.dtd">
<!-- Name: gcbasic.xml -->
<!-- Version: 1.0 for jEdit 4.3 pre 15 -->
<!-- Version: 17 August 2008 -->
<!-- Title: jEdit Syntax highlighting Mode file for GCBASIC -->
<!-- Author: Mark J. Twomey -->
<!--
Add a MODE entry in the catalog file for the following:
NAME="gcbasic" FILE="gcbasic.xml"
FILE_NAME_GLOB="*.{gc,gcb}"
FIRST_LINE_GLOB="{*GCBASIC*,*Great Cow BASIC*}"
===================================================================
Note 1: GCBASIC (Great Cow BASIC) is an open-source BASIC compiler for Microchip PIC microcontrollers.
For more information go here http://gcbasic.sourceforge.net/
Note 2: It will not unindent as you type.
However, if you do "Select All" (Ctrl-A), and then do "Indent Lines" (Ctrl-i),
then it fixes the indentation of the whole program. It works great!
-->
<MODE>
<PROPS>
<PROPERTY NAME="lineComment" VALUE="'" />
<PROPERTY NAME="ignoreWhitespace" VALUE="TRUE" />
<PROPERTY NAME="indentNextLines" VALUE="^(SUB\s.*|FUNCTION\s.*|MACRO\s.*|\s+DO\s+.*|\s+DO$|DO\s+.*|DO$|\s*FOR\s.*|FOR\s.*|REPEAT\s.*|CASE\s.*|\s+IF\s+.*\s+THEN$|IF\s+.*\s+THEN$|\s+#ifdef\s+.*$|#ifdef\s+.*$)" />
<PROPERTY NAME="unindentThisLine" VALUE="^(\s+END\s+SUB.*|END\s+SUB.*|\s+END\s+FUNCTION.*|END\s+FUNCTION.*|\s+END\s+MACRO.*|END\s+MACRO.*|\s+LOOP.*|LOOP.*|\s+NEXT.*|NEXT.*|\s+END\s+IF.*|END\s+IF.*|\s+#endif.*|#endif.*|\s+#endif|#endif)" />
<PROPERTY NAME="unindentNextLines" VALUE="^(\s+END\s+SUB|END\s+SUB|\s+END\s+SUB\s+|END\s+SUB\s+|\s+END\s+FUNCTION|END\s+FUNCTION|\s+END\s+FUNCTION\s+|END\s+FUNCTION\s+|\s+END\s+MACRO|END\s+MACRO|\s+END\s+MACRO\s+|END\s+MACRO\s+|\s+LOOP|LOOP|\s+LOOP\s+|LOOP\s+|\s+NEXT|NEXT|\s+NEXT\s+|NEXT\s+|\s+END\s+IF|END\s+IF|\s+END\s+IF\s+|END\s+IF\s+|\s+#endif|#endif|\s+#endif\s+|#endif\s+)" />
</PROPS>
<RULES ESCAPE="\" IGNORE_CASE="TRUE" HIGHLIGHT_DIGITS="TRUE">
<SPAN TYPE="LITERAL1" NO_LINE_BREAK="TRUE">
<BEGIN>"</BEGIN>
<END>"</END>
</SPAN>
<!-- Comments -->
<EOL_SPAN TYPE="COMMENT4">'</EOL_SPAN>
<EOL_SPAN TYPE="COMMENT4">rem </EOL_SPAN>
<!-- Arithmetic operators -->
<SEQ TYPE="OPERATOR">*</SEQ>
<SEQ TYPE="OPERATOR">/</SEQ>
<SEQ TYPE="OPERATOR">+</SEQ>
<SEQ TYPE="OPERATOR">-</SEQ>
<SEQ TYPE="OPERATOR">+=</SEQ>
<SEQ TYPE="OPERATOR">-=</SEQ>
<!-- Logical operators -->
<SEQ TYPE="OPERATOR">&</SEQ>
<SEQ TYPE="OPERATOR">|</SEQ>
<SEQ TYPE="OPERATOR">!</SEQ>
<!-- Comparison operators -->
<SEQ TYPE="OPERATOR">=</SEQ>
<SEQ TYPE="OPERATOR"><></SEQ>
<SEQ TYPE="OPERATOR">></SEQ>
<SEQ TYPE="OPERATOR"><</SEQ>
<SEQ TYPE="OPERATOR">>=</SEQ>
<SEQ TYPE="OPERATOR"><=</SEQ>
<KEYWORDS>
<!-- Compiler Directives -->
<KEYWORD3>#include</KEYWORD3>
<KEYWORD3>#define</KEYWORD3>
<KEYWORD3>#chip</KEYWORD3>
<KEYWORD3>#osc</KEYWORD3>
<KEYWORD3>#config</KEYWORD3>
<KEYWORD3>#IFDEF</KEYWORD3>
<KEYWORD3>#ENDIF</KEYWORD3>
<KEYWORD3>#SCRIPT</KEYWORD3>
<KEYWORD3>#ENDSCRIPT</KEYWORD3>
<KEYWORD3>#int</KEYWORD3>
<KEYWORD3>#startup</KEYWORD3>
<KEYWORD3>#RAM</KEYWORD3>
<KEYWORD3>#mem</KEYWORD3>
<!-- ====== CHIP DATA : START ====== -->
<!-- [Ports] -->
<KEYWORD2>PORTA</KEYWORD2>
<KEYWORD2>PORTB</KEYWORD2>
<KEYWORD2>PORTC</KEYWORD2>
<KEYWORD2>PORTD</KEYWORD2>
<KEYWORD2>PORTE</KEYWORD2>
<KEYWORD2>PORTF</KEYWORD2>
<KEYWORD2>PORTG</KEYWORD2>
<KEYWORD2>PORTH</KEYWORD2>
<KEYWORD2>PORTI</KEYWORD2>
<KEYWORD2>PORTJ</KEYWORD2>
<!-- [ChipData] -->
<KEYWORD2>Prog</KEYWORD2>
<KEYWORD2>EEPROM</KEYWORD2>
<KEYWORD2>RAM</KEYWORD2>
<KEYWORD2>I/O</KEYWORD2>
<KEYWORD2>ADC</KEYWORD2>
<KEYWORD2>MaxMHz</KEYWORD2>
<KEYWORD2>IntOsc</KEYWORD2>
<KEYWORD2>Pins</KEYWORD2>
<KEYWORD2>Family</KEYWORD2>
<KEYWORD2>ConfigWords</KEYWORD2>
<KEYWORD2>PSP</KEYWORD2>
<KEYWORD2>MaxAddress</KEYWORD2>
<!-- [Interrupts] -->
<KEYWORD2>ADCReady</KEYWORD2>
<KEYWORD2>CCP1</KEYWORD2>
<KEYWORD2>CCP2</KEYWORD2>
<KEYWORD2>Comp1Change</KEYWORD2>
<KEYWORD2>Comp2Change</KEYWORD2>
<KEYWORD2>EEPROMReady</KEYWORD2>
<KEYWORD2>ExtInt0</KEYWORD2>
<KEYWORD2>LPWU</KEYWORD2>
<KEYWORD2>OscillatorFail</KEYWORD2>
<KEYWORD2>PORTBChange</KEYWORD2>
<KEYWORD2>SSP1Collision</KEYWORD2>
<KEYWORD2>SSP1Ready</KEYWORD2>
<KEYWORD2>Timer0Overflow</KEYWORD2>
<KEYWORD2>Timer1Overflow</KEYWORD2>
<KEYWORD2>Timer2Overflow</KEYWORD2>
<KEYWORD2>UsartRX1Ready</KEYWORD2>
<KEYWORD2>UsartTX1Ready</KEYWORD2>
<!-- [Registers] -->
<KEYWORD2>INDF</KEYWORD2>
<KEYWORD2>TMR0</KEYWORD2>
<KEYWORD2>PCL</KEYWORD2>
<KEYWORD2>STATUS</KEYWORD2>
<KEYWORD2>FSR</KEYWORD2>
<KEYWORD2>PCLATH</KEYWORD2>
<KEYWORD2>INTCON</KEYWORD2>
<KEYWORD2>PIR1</KEYWORD2>
<KEYWORD2>PIR2</KEYWORD2>
<KEYWORD2>TMR1L</KEYWORD2>
<KEYWORD2>TMR1H</KEYWORD2>
<KEYWORD2>T1CON</KEYWORD2>
<KEYWORD2>TMR2</KEYWORD2>
<KEYWORD2>T2CON</KEYWORD2>
<KEYWORD2>SSPBUF</KEYWORD2>
<KEYWORD2>SSPCON</KEYWORD2>
<KEYWORD2>CCPR1L</KEYWORD2>
<KEYWORD2>CCPR1H</KEYWORD2>
<KEYWORD2>CCP1CON</KEYWORD2>
<KEYWORD2>RCSTA</KEYWORD2>
<KEYWORD2>TXREG</KEYWORD2>
<KEYWORD2>RCREG</KEYWORD2>
<KEYWORD2>CCPR2L</KEYWORD2>
<KEYWORD2>CCPR2H</KEYWORD2>
<KEYWORD2>CCP2CON</KEYWORD2>
<KEYWORD2>ADRESH</KEYWORD2>
<KEYWORD2>ADCON0</KEYWORD2>
<KEYWORD2>OPTION_REG</KEYWORD2>
<KEYWORD2>TRISA</KEYWORD2>
<KEYWORD2>TRISB</KEYWORD2>
<KEYWORD2>TRISC</KEYWORD2>
<KEYWORD2>TRISD</KEYWORD2>
<KEYWORD2>TRISE</KEYWORD2>
<KEYWORD2>PIE1</KEYWORD2>
<KEYWORD2>PIE2</KEYWORD2>
<KEYWORD2>PCON</KEYWORD2>
<KEYWORD2>OSCCON</KEYWORD2>
<KEYWORD2>OSCTUNE</KEYWORD2>
<KEYWORD2>SSPCON2</KEYWORD2>
<KEYWORD2>PR2</KEYWORD2>
<KEYWORD2>SSPADD</KEYWORD2>
<KEYWORD2>SSPMSK</KEYWORD2>
<KEYWORD2>MSK</KEYWORD2>
<KEYWORD2>SSPSTAT</KEYWORD2>
<KEYWORD2>WPUB</KEYWORD2>
<KEYWORD2>IOCB</KEYWORD2>
<KEYWORD2>VRCON</KEYWORD2>
<KEYWORD2>TXSTA</KEYWORD2>
<KEYWORD2>SPBRG</KEYWORD2>
<KEYWORD2>SPBRGH</KEYWORD2>
<KEYWORD2>PWM1CON</KEYWORD2>
<KEYWORD2>ECCPAS</KEYWORD2>
<KEYWORD2>PSTRCON</KEYWORD2>
<KEYWORD2>ADRESL</KEYWORD2>
<KEYWORD2>ADCON1</KEYWORD2>
<KEYWORD2>WDTCON</KEYWORD2>
<KEYWORD2>CM1CON0</KEYWORD2>
<KEYWORD2>CM2CON0</KEYWORD2>
<KEYWORD2>CM2CON1</KEYWORD2>
<KEYWORD2>EEDATA</KEYWORD2>
<KEYWORD2>EEDAT</KEYWORD2>
<KEYWORD2>EEADR</KEYWORD2>
<KEYWORD2>EEDATH</KEYWORD2>
<KEYWORD2>EEADRH</KEYWORD2>
<KEYWORD2>SRCON</KEYWORD2>
<KEYWORD2>BAUDCTL</KEYWORD2>
<KEYWORD2>ANSEL</KEYWORD2>
<KEYWORD2>ANSELH</KEYWORD2>
<KEYWORD2>EECON1</KEYWORD2>
<KEYWORD2>EECON2</KEYWORD2>
<!-- [Bits] -->
<KEYWORD2>IRP</KEYWORD2>
<KEYWORD2>RP1</KEYWORD2>
<KEYWORD2>RP0</KEYWORD2>
<KEYWORD2>NOT_TO</KEYWORD2>
<KEYWORD2>NOT_PD</KEYWORD2>
<KEYWORD2>Z</KEYWORD2>
<KEYWORD2>DC</KEYWORD2>
<KEYWORD2>C</KEYWORD2>
<KEYWORD2>GIE</KEYWORD2>
<KEYWORD2>PEIE</KEYWORD2>
<KEYWORD2>T0IE</KEYWORD2>
<KEYWORD2>TMR0IE</KEYWORD2>
<KEYWORD2>INTE</KEYWORD2>
<KEYWORD2>RBIE</KEYWORD2>
<KEYWORD2>T0IF</KEYWORD2>
<KEYWORD2>TMR0IF</KEYWORD2>
<KEYWORD2>INTF</KEYWORD2>
<KEYWORD2>RBIF</KEYWORD2>
<KEYWORD2>ADIF</KEYWORD2>
<KEYWORD2>RCIF</KEYWORD2>
<KEYWORD2>TXIF</KEYWORD2>
<KEYWORD2>SSPIF</KEYWORD2>
<KEYWORD2>CCP1IF</KEYWORD2>
<KEYWORD2>TMR2IF</KEYWORD2>
<KEYWORD2>TMR1IF</KEYWORD2>
<KEYWORD2>OSFIF</KEYWORD2>
<KEYWORD2>C2IF</KEYWORD2>
<KEYWORD2>C1IF</KEYWORD2>
<KEYWORD2>EEIF</KEYWORD2>
<KEYWORD2>BCLIF</KEYWORD2>
<KEYWORD2>ULPWUIF</KEYWORD2>
<KEYWORD2>CCP2IF</KEYWORD2>
<KEYWORD2>T1GIV</KEYWORD2>
<KEYWORD2>TMR1GE</KEYWORD2>
<KEYWORD2>T1CKPS1</KEYWORD2>
<KEYWORD2>T1CKPS0</KEYWORD2>
<KEYWORD2>T1OSCEN</KEYWORD2>
<KEYWORD2>NOT_T1SYNC</KEYWORD2>
<KEYWORD2>T1INSYNC</KEYWORD2>
<KEYWORD2>T1SYNC</KEYWORD2>
<KEYWORD2>TMR1CS</KEYWORD2>
<KEYWORD2>TMR1ON</KEYWORD2>
<KEYWORD2>TOUTPS3</KEYWORD2>
<KEYWORD2>TOUTPS2</KEYWORD2>
<KEYWORD2>TOUTPS1</KEYWORD2>
<KEYWORD2>TOUTPS0</KEYWORD2>
<KEYWORD2>TMR2ON</KEYWORD2>
<KEYWORD2>T2CKPS1</KEYWORD2>
<KEYWORD2>T2CKPS0</KEYWORD2>
<KEYWORD2>WCOL</KEYWORD2>
<KEYWORD2>SSPOV</KEYWORD2>
<KEYWORD2>SSPEN</KEYWORD2>
<KEYWORD2>CKP</KEYWORD2>
<KEYWORD2>SSPM3</KEYWORD2>
<KEYWORD2>SSPM2</KEYWORD2>
<KEYWORD2>SSPM1</KEYWORD2>
<KEYWORD2>SSPM0</KEYWORD2>
<KEYWORD2>P1M1</KEYWORD2>
<KEYWORD2>P1M0</KEYWORD2>
<KEYWORD2>DC1B1</KEYWORD2>
<KEYWORD2>CCP1X</KEYWORD2>
<KEYWORD2>DC1B0</KEYWORD2>
<KEYWORD2>CCP1Y</KEYWORD2>
<KEYWORD2>CCP1M3</KEYWORD2>
<KEYWORD2>CCP1M2</KEYWORD2>
<KEYWORD2>CCP1M1</KEYWORD2>
<KEYWORD2>CCP1M0</KEYWORD2>
<KEYWORD2>SPEN</KEYWORD2>
<KEYWORD2>RX9</KEYWORD2>
<KEYWORD2>RC9</KEYWORD2>
<KEYWORD2>NOT_RC8</KEYWORD2>
<KEYWORD2>RC8_9</KEYWORD2>
<KEYWORD2>SREN</KEYWORD2>
<KEYWORD2>CREN</KEYWORD2>
<KEYWORD2>ADDEN</KEYWORD2>
<KEYWORD2>FERR</KEYWORD2>
<KEYWORD2>OERR</KEYWORD2>
<KEYWORD2>RX9D</KEYWORD2>
<KEYWORD2>RCD8</KEYWORD2>
<KEYWORD2>CCP2X</KEYWORD2>
<KEYWORD2>DC2B1</KEYWORD2>
<KEYWORD2>CCP2Y</KEYWORD2>
<KEYWORD2>DC2B0</KEYWORD2>
<KEYWORD2>CCP2M3</KEYWORD2>
<KEYWORD2>CCP2M2</KEYWORD2>
<KEYWORD2>CCP2M1</KEYWORD2>
<KEYWORD2>CCP2M0</KEYWORD2>
<KEYWORD2>ADCS1</KEYWORD2>
<KEYWORD2>ADCS0</KEYWORD2>
<KEYWORD2>CHS3</KEYWORD2>
<KEYWORD2>CHS2</KEYWORD2>
<KEYWORD2>CHS1</KEYWORD2>
<KEYWORD2>CHS0</KEYWORD2>
<KEYWORD2>GO</KEYWORD2>
<KEYWORD2>NOT_DONE</KEYWORD2>
<KEYWORD2>GO_DONE</KEYWORD2>
<KEYWORD2>ADON</KEYWORD2>
<KEYWORD2>NOT_RBPU</KEYWORD2>
<KEYWORD2>INTEDG</KEYWORD2>
<KEYWORD2>T0CS</KEYWORD2>
<KEYWORD2>T0SE</KEYWORD2>
<KEYWORD2>PSA</KEYWORD2>
<KEYWORD2>PS2</KEYWORD2>
<KEYWORD2>PS1</KEYWORD2>
<KEYWORD2>PS0</KEYWORD2>
<KEYWORD2>ADIE</KEYWORD2>
<KEYWORD2>RCIE</KEYWORD2>
<KEYWORD2>TXIE</KEYWORD2>
<KEYWORD2>SSPIE</KEYWORD2>
<KEYWORD2>CCP1IE</KEYWORD2>
<KEYWORD2>TMR2IE</KEYWORD2>
<KEYWORD2>TMR1IE</KEYWORD2>
<KEYWORD2>OSFIE</KEYWORD2>
<KEYWORD2>C2IE</KEYWORD2>
<KEYWORD2>C1IE</KEYWORD2>
<KEYWORD2>EEIE</KEYWORD2>
<KEYWORD2>BCLIE</KEYWORD2>
<KEYWORD2>ULPWUIE</KEYWORD2>
<KEYWORD2>CCP2IE</KEYWORD2>
<KEYWORD2>ULPWUE</KEYWORD2>
<KEYWORD2>SBOREN</KEYWORD2>
<KEYWORD2>NOT_POR</KEYWORD2>
<KEYWORD2>NOT_BO</KEYWORD2>
<KEYWORD2>NOT_BOR</KEYWORD2>
<KEYWORD2>IRCF2</KEYWORD2>
<KEYWORD2>IRCF1</KEYWORD2>
<KEYWORD2>IRCF0</KEYWORD2>
<KEYWORD2>OSTS</KEYWORD2>
<KEYWORD2>HTS</KEYWORD2>
<KEYWORD2>LTS</KEYWORD2>
<KEYWORD2>SCS</KEYWORD2>
<KEYWORD2>TUN4</KEYWORD2>
<KEYWORD2>TUN3</KEYWORD2>
<KEYWORD2>TUN2</KEYWORD2>
<KEYWORD2>TUN1</KEYWORD2>
<KEYWORD2>TUN0</KEYWORD2>
<KEYWORD2>GCEN</KEYWORD2>
<KEYWORD2>ACKSTAT</KEYWORD2>
<KEYWORD2>ACKDT</KEYWORD2>
<KEYWORD2>ACKEN</KEYWORD2>
<KEYWORD2>RCEN</KEYWORD2>
<KEYWORD2>PEN</KEYWORD2>
<KEYWORD2>RSEN</KEYWORD2>
<KEYWORD2>SEN</KEYWORD2>
<KEYWORD2>SMP</KEYWORD2>
<KEYWORD2>CKE</KEYWORD2>
<KEYWORD2>D</KEYWORD2>
<KEYWORD2>I2C_DATA</KEYWORD2>
<KEYWORD2>NOT_A</KEYWORD2>
<KEYWORD2>NOT_ADDRESS</KEYWORD2>
<KEYWORD2>D_A</KEYWORD2>
<KEYWORD2>DATA_ADDRESS</KEYWORD2>
<KEYWORD2>P</KEYWORD2>
<KEYWORD2>I2C_STOP</KEYWORD2>
<KEYWORD2>S</KEYWORD2>
<KEYWORD2>I2C_START</KEYWORD2>
<KEYWORD2>R</KEYWORD2>
<KEYWORD2>I2C_READ</KEYWORD2>
<KEYWORD2>NOT_W</KEYWORD2>
<KEYWORD2>NOT_WRITE</KEYWORD2>
<KEYWORD2>R_W</KEYWORD2>
<KEYWORD2>READ_WRITE</KEYWORD2>
<KEYWORD2>UA</KEYWORD2>
<KEYWORD2>BF</KEYWORD2>
<KEYWORD2>WPUB7</KEYWORD2>
<KEYWORD2>WPUB6</KEYWORD2>
<KEYWORD2>WPUB5</KEYWORD2>
<KEYWORD2>WPUB4</KEYWORD2>
<KEYWORD2>WPUB3</KEYWORD2>
<KEYWORD2>WPUB2</KEYWORD2>
<KEYWORD2>WPUB1</KEYWORD2>
<KEYWORD2>WPUB0</KEYWORD2>
<KEYWORD2>IOCB7</KEYWORD2>
<KEYWORD2>IOCB6</KEYWORD2>
<KEYWORD2>IOCB5</KEYWORD2>
<KEYWORD2>IOCB4</KEYWORD2>
<KEYWORD2>IOCB3</KEYWORD2>
<KEYWORD2>IOCB2</KEYWORD2>
<KEYWORD2>IOCB1</KEYWORD2>
<KEYWORD2>IOCB0</KEYWORD2>
<KEYWORD2>VREN</KEYWORD2>
<KEYWORD2>VROE</KEYWORD2>
<KEYWORD2>VRR</KEYWORD2>
<KEYWORD2>VRSS</KEYWORD2>
<KEYWORD2>VR3</KEYWORD2>
<KEYWORD2>VR2</KEYWORD2>
<KEYWORD2>VR1</KEYWORD2>
<KEYWORD2>VR0</KEYWORD2>
<KEYWORD2>CSRC</KEYWORD2>
<KEYWORD2>TX9</KEYWORD2>
<KEYWORD2>NOT_TX8</KEYWORD2>
<KEYWORD2>TX8_9</KEYWORD2>
<KEYWORD2>TXEN</KEYWORD2>
<KEYWORD2>SYNC</KEYWORD2>
<KEYWORD2>SENDB</KEYWORD2>
<KEYWORD2>BRGH</KEYWORD2>
<KEYWORD2>TRMT</KEYWORD2>
<KEYWORD2>TX9D</KEYWORD2>
<KEYWORD2>TXD8</KEYWORD2>
<KEYWORD2>BRG7</KEYWORD2>
<KEYWORD2>BRG6</KEYWORD2>
<KEYWORD2>BRG5</KEYWORD2>
<KEYWORD2>BRG4</KEYWORD2>
<KEYWORD2>BRG3</KEYWORD2>
<KEYWORD2>BRG2</KEYWORD2>
<KEYWORD2>BRG1</KEYWORD2>
<KEYWORD2>BRG0</KEYWORD2>
<KEYWORD2>BRG15</KEYWORD2>
<KEYWORD2>BRG14</KEYWORD2>
<KEYWORD2>BRG13</KEYWORD2>
<KEYWORD2>BRG12</KEYWORD2>
<KEYWORD2>BRG11</KEYWORD2>
<KEYWORD2>BRG10</KEYWORD2>
<KEYWORD2>BRG9</KEYWORD2>
<KEYWORD2>BRG8</KEYWORD2>
<KEYWORD2>PRSEN</KEYWORD2>
<KEYWORD2>PDC6</KEYWORD2>
<KEYWORD2>PDC5</KEYWORD2>
<KEYWORD2>PDC4</KEYWORD2>
<KEYWORD2>PDC3</KEYWORD2>
<KEYWORD2>PDC2</KEYWORD2>
<KEYWORD2>PDC1</KEYWORD2>
<KEYWORD2>PDC0</KEYWORD2>
<KEYWORD2>ECCPASE</KEYWORD2>
<KEYWORD2>ECCPAS2</KEYWORD2>
<KEYWORD2>ECCPAS1</KEYWORD2>
<KEYWORD2>ECCPAS0</KEYWORD2>
<KEYWORD2>PSSAC1</KEYWORD2>
<KEYWORD2>PSSAC0</KEYWORD2>
<KEYWORD2>PSSBD1</KEYWORD2>
<KEYWORD2>PSSBD0</KEYWORD2>
<KEYWORD2>STRSYNC</KEYWORD2>
<KEYWORD2>STRD</KEYWORD2>
<KEYWORD2>STRC</KEYWORD2>
<KEYWORD2>STRB</KEYWORD2>
<KEYWORD2>STRA</KEYWORD2>
<KEYWORD2>ADFM</KEYWORD2>
<KEYWORD2>VCFG1</KEYWORD2>
<KEYWORD2>VCFG0</KEYWORD2>
<KEYWORD2>WDTPS3</KEYWORD2>
<KEYWORD2>WDTPS2</KEYWORD2>
<KEYWORD2>WDTPS1</KEYWORD2>
<KEYWORD2>WDTPS0</KEYWORD2>
<KEYWORD2>SWDTEN</KEYWORD2>
<KEYWORD2>C1ON</KEYWORD2>
<KEYWORD2>C1OUT</KEYWORD2>
<KEYWORD2>C1OE</KEYWORD2>
<KEYWORD2>C1POL</KEYWORD2>
<KEYWORD2>C1R</KEYWORD2>
<KEYWORD2>C1CH1</KEYWORD2>
<KEYWORD2>C1CH0</KEYWORD2>
<KEYWORD2>C2ON</KEYWORD2>
<KEYWORD2>C2OUT</KEYWORD2>
<KEYWORD2>C2OE</KEYWORD2>
<KEYWORD2>C2POL</KEYWORD2>
<KEYWORD2>C2R</KEYWORD2>
<KEYWORD2>C2CH1</KEYWORD2>
<KEYWORD2>C2CH0</KEYWORD2>
<KEYWORD2>MC1OUT</KEYWORD2>
<KEYWORD2>MC2OUT</KEYWORD2>
<KEYWORD2>C1RSEL</KEYWORD2>
<KEYWORD2>C2RSEL</KEYWORD2>
<KEYWORD2>T1GSS</KEYWORD2>
<KEYWORD2>C2SYNC</KEYWORD2>
<KEYWORD2>SR0</KEYWORD2>
<KEYWORD2>SR1</KEYWORD2>
<KEYWORD2>C1SEN</KEYWORD2>
<KEYWORD2>C2REN</KEYWORD2>
<KEYWORD2>PULSS</KEYWORD2>
<KEYWORD2>PULSR</KEYWORD2>
<KEYWORD2>FVREN</KEYWORD2>
<KEYWORD2>ABDOVF</KEYWORD2>
<KEYWORD2>RCIDL</KEYWORD2>
<KEYWORD2>SCKP</KEYWORD2>
<KEYWORD2>BRG16</KEYWORD2>
<KEYWORD2>WUE</KEYWORD2>
<KEYWORD2>ABDEN</KEYWORD2>
<KEYWORD2>ANS0</KEYWORD2>
<KEYWORD2>ANS1</KEYWORD2>
<KEYWORD2>ANS2</KEYWORD2>
<KEYWORD2>ANS3</KEYWORD2>
<KEYWORD2>ANS4</KEYWORD2>
<KEYWORD2>ANS5</KEYWORD2>
<KEYWORD2>ANS6</KEYWORD2>
<KEYWORD2>ANS7</KEYWORD2>
<KEYWORD2>ANS8</KEYWORD2>
<KEYWORD2>ANS9</KEYWORD2>
<KEYWORD2>ANS10</KEYWORD2>
<KEYWORD2>ANS11</KEYWORD2>
<KEYWORD2>ANS12</KEYWORD2>
<KEYWORD2>ANS13</KEYWORD2>
<KEYWORD2>EEPGD</KEYWORD2>
<KEYWORD2>WRERR</KEYWORD2>
<KEYWORD2>WREN</KEYWORD2>
<KEYWORD2>WR</KEYWORD2>
<KEYWORD2>RD</KEYWORD2>
<!-- [Pins-DIP] -->
<KEYWORD2>RA0</KEYWORD2>
<KEYWORD2>RA1</KEYWORD2>
<KEYWORD2>RA2</KEYWORD2>
<KEYWORD2>RA3</KEYWORD2>
<KEYWORD2>RA4</KEYWORD2>
<KEYWORD2>RA5</KEYWORD2>
<KEYWORD2>RA6</KEYWORD2>
<KEYWORD2>RA7</KEYWORD2>
<KEYWORD2>RB0</KEYWORD2>
<KEYWORD2>RB1</KEYWORD2>
<KEYWORD2>RB2</KEYWORD2>
<KEYWORD2>RB3</KEYWORD2>
<KEYWORD2>RB4</KEYWORD2>
<KEYWORD2>RB5</KEYWORD2>
<KEYWORD2>RB6</KEYWORD2>
<KEYWORD2>RB7</KEYWORD2>
<KEYWORD2>RC0</KEYWORD2>
<KEYWORD2>RC1</KEYWORD2>
<KEYWORD2>RC2</KEYWORD2>
<KEYWORD2>RC3</KEYWORD2>
<KEYWORD2>RC4</KEYWORD2>
<KEYWORD2>RC5</KEYWORD2>
<KEYWORD2>RC6</KEYWORD2>
<KEYWORD2>RC7</KEYWORD2>
<KEYWORD2>RD0</KEYWORD2>
<KEYWORD2>RD1</KEYWORD2>
<KEYWORD2>RD2</KEYWORD2>
<KEYWORD2>RD3</KEYWORD2>
<KEYWORD2>RD4</KEYWORD2>
<KEYWORD2>RD5</KEYWORD2>
<KEYWORD2>RD6</KEYWORD2>
<KEYWORD2>RD7</KEYWORD2>
<KEYWORD2>RE0</KEYWORD2>
<KEYWORD2>RE1</KEYWORD2>
<KEYWORD2>RE2</KEYWORD2>
<KEYWORD2>RE3</KEYWORD2>
<KEYWORD2>RE4</KEYWORD2>
<KEYWORD2>RE5</KEYWORD2>
<KEYWORD2>RE6</KEYWORD2>
<KEYWORD2>RE7</KEYWORD2>
<KEYWORD2>RF0</KEYWORD2>
<KEYWORD2>RF1</KEYWORD2>
<KEYWORD2>RF2</KEYWORD2>
<KEYWORD2>RF3</KEYWORD2>
<KEYWORD2>RF4</KEYWORD2>
<KEYWORD2>RF5</KEYWORD2>
<KEYWORD2>RF6</KEYWORD2>
<KEYWORD2>RF7</KEYWORD2>
<KEYWORD2>RG0</KEYWORD2>
<KEYWORD2>RG1</KEYWORD2>
<KEYWORD2>RG2</KEYWORD2>
<KEYWORD2>RG3</KEYWORD2>
<KEYWORD2>RG4</KEYWORD2>
<KEYWORD2>RG5</KEYWORD2>
<KEYWORD2>RG6</KEYWORD2>
<KEYWORD2>RG7</KEYWORD2>
<KEYWORD2>RH0</KEYWORD2>
<KEYWORD2>RH1</KEYWORD2>
<KEYWORD2>RH2</KEYWORD2>
<KEYWORD2>RH3</KEYWORD2>
<KEYWORD2>RH4</KEYWORD2>
<KEYWORD2>RH5</KEYWORD2>
<KEYWORD2>RH6</KEYWORD2>
<KEYWORD2>RH7</KEYWORD2>
<KEYWORD2>RI0</KEYWORD2>
<KEYWORD2>RI1</KEYWORD2>
<KEYWORD2>RI2</KEYWORD2>
<KEYWORD2>RI3</KEYWORD2>
<KEYWORD2>RI4</KEYWORD2>
<KEYWORD2>RI5</KEYWORD2>
<KEYWORD2>RI6</KEYWORD2>
<KEYWORD2>RI7</KEYWORD2>
<KEYWORD2>RJ0</KEYWORD2>
<KEYWORD2>RJ1</KEYWORD2>
<KEYWORD2>RJ2</KEYWORD2>
<KEYWORD2>RJ3</KEYWORD2>
<KEYWORD2>RJ4</KEYWORD2>
<KEYWORD2>RJ5</KEYWORD2>
<KEYWORD2>RJ6</KEYWORD2>
<KEYWORD2>RJ7</KEYWORD2>
<KEYWORD2>AN0</KEYWORD2>
<KEYWORD2>AN1</KEYWORD2>
<KEYWORD2>AN2</KEYWORD2>
<KEYWORD2>AN3</KEYWORD2>
<KEYWORD2>AN4</KEYWORD2>
<KEYWORD2>AN5</KEYWORD2>
<KEYWORD2>AN6</KEYWORD2>
<KEYWORD2>AN7</KEYWORD2>
<KEYWORD2>AN8</KEYWORD2>
<KEYWORD2>AN9</KEYWORD2>
<KEYWORD2>AN0</KEYWORD2>
<KEYWORD2>AN11</KEYWORD2>
<KEYWORD2>AN12</KEYWORD2>
<KEYWORD2>AN13</KEYWORD2>
<KEYWORD2>AN14</KEYWORD2>
<KEYWORD2>AN15</KEYWORD2>
<KEYWORD2>AN16</KEYWORD2>
<KEYWORD2>AN17</KEYWORD2>
<KEYWORD2>AN18</KEYWORD2>
<KEYWORD2>AN19</KEYWORD2>
<KEYWORD2>MCLR</KEYWORD2>
<KEYWORD2>C1INP</KEYWORD2>
<KEYWORD2>C2INP</KEYWORD2>
<KEYWORD2>T1G</KEYWORD2>
<KEYWORD2>T1CKI</KEYWORD2>
<KEYWORD2>T0CKI</KEYWORD2>
<KEYWORD2>C1OUT</KEYWORD2>
<KEYWORD2>C2OUT</KEYWORD2>
<KEYWORD2>OSC1</KEYWORD2>
<KEYWORD2>OSC2</KEYWORD2>
<KEYWORD2>U1TX</KEYWORD2>
<KEYWORD2>U1RX</KEYWORD2>
<KEYWORD2>CCP1</KEYWORD2>
<KEYWORD2>CCP2</KEYWORD2>
<KEYWORD2>ECCPA</KEYWORD2>
<KEYWORD2>ECCPB</KEYWORD2>
<KEYWORD2>ECCPC</KEYWORD2>
<KEYWORD2>ECCPD</KEYWORD2>
<KEYWORD2>Vss</KEYWORD2>
<KEYWORD2>Vdd</KEYWORD2>
<KEYWORD2>Vss</KEYWORD2>
<KEYWORD2>Vdd</KEYWORD2>
<!-- [ConfigOps] -->
<KEYWORD2>DEBUG</KEYWORD2>
<KEYWORD2>LVP</KEYWORD2>
<KEYWORD2>FCMEN</KEYWORD2>
<KEYWORD2>IESO</KEYWORD2>
<KEYWORD2>BOR</KEYWORD2>
<KEYWORD2>CPD</KEYWORD2>
<KEYWORD2>CP</KEYWORD2>
<KEYWORD2>MCLRE</KEYWORD2>
<KEYWORD2>PWRTE</KEYWORD2>
<KEYWORD2>WDT</KEYWORD2>
<KEYWORD2>OSC</KEYWORD2>
<KEYWORD2>WRT</KEYWORD2>
<KEYWORD2>BORV</KEYWORD2>
<!-- [Config] -->
<KEYWORD2>DEBUG_ON</KEYWORD2>
<KEYWORD2>DEBUG_OFF</KEYWORD2>
<KEYWORD2>LVP_ON</KEYWORD2>
<KEYWORD2>LVP_OFF</KEYWORD2>
<KEYWORD2>FCMEN_ON</KEYWORD2>
<KEYWORD2>FCMEN_OFF</KEYWORD2>
<KEYWORD2>IESO_ON</KEYWORD2>
<KEYWORD2>IESO_OFF</KEYWORD2>
<KEYWORD2>BOR_ON</KEYWORD2>
<KEYWORD2>BOR_NSLEEP</KEYWORD2>
<KEYWORD2>BOR_SBODEN</KEYWORD2>
<KEYWORD2>BOR_OFF</KEYWORD2>
<KEYWORD2>CPD_ON</KEYWORD2>
<KEYWORD2>CPD_OFF</KEYWORD2>
<KEYWORD2>CP_ON</KEYWORD2>
<KEYWORD2>CP_OFF</KEYWORD2>
<KEYWORD2>MCLRE_ON</KEYWORD2>
<KEYWORD2>MCLRE_OFF</KEYWORD2>
<KEYWORD2>PWRTE_ON</KEYWORD2>
<KEYWORD2>PWRTE_OFF</KEYWORD2>
<KEYWORD2>WDT_ON</KEYWORD2>
<KEYWORD2>WDT_OFF</KEYWORD2>
<KEYWORD2>LP_OSC</KEYWORD2>
<KEYWORD2>XT_OSC</KEYWORD2>
<KEYWORD2>HS_OSC</KEYWORD2>
<KEYWORD2>EC_OSC</KEYWORD2>
<KEYWORD2>INTRC_OSC_NOCLKOUT</KEYWORD2>
<KEYWORD2>INTRC_OSC_CLKOUT</KEYWORD2>
<KEYWORD2>EXTRC_OSC_NOCLKOUT</KEYWORD2>
<KEYWORD2>EXTRC_OSC_CLKOUT</KEYWORD2>
<KEYWORD2>INTOSCIO</KEYWORD2>
<KEYWORD2>INTOSC</KEYWORD2>
<KEYWORD2>EXTRCIO</KEYWORD2>
<KEYWORD2>EXTRC</KEYWORD2>
<KEYWORD2>WRT_OFF</KEYWORD2>
<KEYWORD2>WRT_256</KEYWORD2>
<KEYWORD2>WRT_1FOURTH</KEYWORD2>
<KEYWORD2>WRT_HALF</KEYWORD2>
<KEYWORD2>BOR21V</KEYWORD2>
<KEYWORD2>BOR40V</KEYWORD2>
<!-- ====== CHIP DATA : END ====== -->
<!-- Flow Control -->
<KEYWORD1>if</KEYWORD1>
<KEYWORD1>then</KEYWORD1>
<KEYWORD1>end</KEYWORD1>
<KEYWORD1>goto</KEYWORD1>
<KEYWORD1>gosub</KEYWORD1>
<KEYWORD1>return</KEYWORD1>
<!-- Loop Statements -->
<KEYWORD1>for</KEYWORD1>
<KEYWORD1>to</KEYWORD1>
<KEYWORD1>step</KEYWORD1>
<KEYWORD1>next</KEYWORD1>
<!-- Do..Loop -->
<KEYWORD1>do</KEYWORD1>
<KEYWORD1>while</KEYWORD1>
<KEYWORD1>until</KEYWORD1>
<KEYWORD1>loop</KEYWORD1>
<!-- Repeat..Loop -->
<KEYWORD1>repeat</KEYWORD1>
<!-- Select..Case -->
<KEYWORD1>select</KEYWORD1>
<KEYWORD1>case</KEYWORD1>
<!-- Call..Every -->
<KEYWORD1>call</KEYWORD1>
<KEYWORD1>every</KEYWORD1>
<!-- Closing, Exit Statements -->
<KEYWORD1>exit</KEYWORD1>
<KEYWORD1>end</KEYWORD1>
<!-- Methods, Functions, Class, Properties, Variables -->
<KEYWORD1>function</KEYWORD1>
<KEYWORD1>sub</KEYWORD1>
<KEYWORD1>macro</KEYWORD1>
<KEYWORD1>let</KEYWORD1>
<!-- Declaration -->
<KEYWORD1>dim</KEYWORD1>
<KEYWORD1>as</KEYWORD1>
<!-- Bitwise -->
<KEYWORD1>rotate</KEYWORD1>
<KEYWORD1>left</KEYWORD1>
<KEYWORD1>right</KEYWORD1>
<KEYWORD1>simple</KEYWORD1>
<KEYWORD1>set</KEYWORD1>
<!-- Comments -->
<KEYWORD1>rem</KEYWORD1>
<!-- RS 232 Commands -->
<KEYWORD1>InitSer </KEYWORD1>
<KEYWORD1>SerSend </KEYWORD1>
<KEYWORD1>SerReceive </KEYWORD1>
<KEYWORD1>SerPrint </KEYWORD1>
<!-- A/D Commands -->
<KEYWORD1>ReadAD </KEYWORD1>
<KEYWORD1>ADFormat </KEYWORD1>
<KEYWORD1>ADOff </KEYWORD1>
<!-- SPI/I2C Commands -->
<KEYWORD1>SPIMode </KEYWORD1>
<KEYWORD1>SPITransfer </KEYWORD1>
<!-- EEPROM Commands -->
<KEYWORD1>EPRead </KEYWORD1>
<KEYWORD1>EPWrite </KEYWORD1>
<KEYWORD1>ProgramWrite </KEYWORD1>
<KEYWORD1>ProgramRead </KEYWORD1>
<KEYWORD1>ProgramErase </KEYWORD1>
<!-- Hardware PWM Commands -->
<KEYWORD1>PWMOn </KEYWORD1>
<KEYWORD1>PWMOff </KEYWORD1>
<KEYWORD1>HPWM </KEYWORD1>
<!-- SRF04 Distance Sensor PWM Commands -->
<KEYWORD1>USDistance </KEYWORD1>
<!-- Sound PWM Commands -->
<KEYWORD1>Tone </KEYWORD1>
<!-- LCD Display Commands -->
<KEYWORD1>PRINT </KEYWORD1>
<KEYWORD1>LOCATE </KEYWORD1>
<KEYWORD1>PUT </KEYWORD1>
<KEYWORD1>CLS </KEYWORD1>
<KEYWORD1>LCDInt </KEYWORD1>
<KEYWORD1>LCDHex </KEYWORD1>
<KEYWORD1>LCDWord </KEYWORD1>
<!-- 7-Segment Display Commands -->
<KEYWORD1>DisplayValue </KEYWORD1>
<KEYWORD1>DisplayChar </KEYWORD1>
<!-- Keypad Commands -->
<KEYWORD1>KeypadRaw</KEYWORD1>
<KEYWORD1>KeypadData</KEYWORD1>
<!-- String handling Functions -->
<KEYWORD1>LEN </KEYWORD1>
<KEYWORD1>MID$ </KEYWORD1>
<!-- Timer Functions -->
<KEYWORD1>InitTimer0</KEYWORD1>
<KEYWORD1>InitTimer1</KEYWORD1>
<KEYWORD1>InitTimer2</KEYWORD1>
<KEYWORD1>ClearTimer</KEYWORD1>
<KEYWORD1>StartTimer</KEYWORD1>
<KEYWORD1>StopTimer</KEYWORD1>
<!-- Miscellaneous Commands/Functions -->
<KEYWORD1>WAIT</KEYWORD1>
<KEYWORD1>SLEEP</KEYWORD1>
<KEYWORD1>DIR</KEYWORD1>
<KEYWORD3>IN</KEYWORD3>
<KEYWORD3>OUT</KEYWORD3>
<KEYWORD1>PORT</KEYWORD1>
<KEYWORD1>PULSEOUT</KEYWORD1>
<KEYWORD1>POT</KEYWORD1>
<KEYWORD1>PWMOut</KEYWORD1>
<KEYWORD1>PEEK</KEYWORD1>
<KEYWORD1>POKE</KEYWORD1>
<KEYWORD1>Random</KEYWORD1>
<KEYWORD1>Swap</KEYWORD1>
<KEYWORD1>Swap4</KEYWORD1>
<KEYWORD1>Table</KEYWORD1>
<KEYWORD1>ReadTable</KEYWORD1>
<!-- Logical operators -->
<OPERATOR>and</OPERATOR>
<OPERATOR>or</OPERATOR>
<OPERATOR>not</OPERATOR>
<OPERATOR>xor</OPERATOR>
<!-- Datatypes Constants/Literals -->
<KEYWORD3>false</KEYWORD3>
<KEYWORD3>true</KEYWORD3>
<KEYWORD3>on</KEYWORD3>
<KEYWORD3>off</KEYWORD3>
<!-- Constants Time Units -->
<LITERAL2>us</LITERAL2>
<LITERAL2>10us</LITERAL2>
<LITERAL2>ms</LITERAL2>
<LITERAL2>10ms</LITERAL2>
<LITERAL2>s</LITERAL2>
<LITERAL2>sec</LITERAL2>
<LITERAL2>m</LITERAL2>
<LITERAL2>h</LITERAL2>
<!-- Data Types -->
<LITERAL2>bit</LITERAL2>
<LITERAL2>byte</LITERAL2>
<LITERAL2>word</LITERAL2>
<LITERAL2>float</LITERAL2>
<!-- Built-in #defines (used for #IFDEF) -->
<LITERAL2>ChipMHz</LITERAL2>
<LITERAL2>ChipName</LITERAL2>
<LITERAL2>ChipFamily</LITERAL2>
<LITERAL2>OSC</LITERAL2>
<LITERAL2>Var</LITERAL2>
<LITERAL2>NoVar</LITERAL2>
<LITERAL2>Bit</LITERAL2>
<LITERAL2>NoBit</LITERAL2>
<LITERAL2>AllOf</LITERAL2>
<LITERAL2>OneOf</LITERAL2>
</KEYWORDS>
<!-- Binary Numbers instead of single quote comments. For example b'00011011' -->
<SPAN TYPE="LITERAL1" >
<BEGIN>b'</BEGIN><END>'</END>
</SPAN>
</RULES>
</MODE>